﻿using System.Collections;
using System.Collections.Generic;
using Framework.Library.Core.Config;
using Framework.Library.Core.Data.DataEngine;
using Framework.Library.Data.DAL;
using Framework.Library.Data.IDAO;
using Framework.Library.Core.Utils.Database;
using System.Data;
using System.Text;
using System;
using Framework.Library.Core.Data.DataProvider;
using Framework.Library.Core.Data.DataManager;

namespace Framework.Library.Data.DAO.Oracle
{
    [Serializable]
    internal class PortalSettingManager : IPortalSettingManager
    {
        public List<PortalSetting> GetSettings(int portalId)
        {
            QueryBuilder builder = new QueryBuilder("PORTAL_SETTINGS");
            builder.AddCondition("PORTALID", portalId);
            return GeneralConnection.ExecuteList<PortalSetting>(CommandType.Text, builder);
        }
    }
}